package LinkedList;

public class TestDemo {
    public static void main(String[] args) {
        Node node1 = new Node(8);
        Node node2 = new Node(3);
        Node node3 = new Node(5);
        Node node4 = new Node(7);
        Node node5 = new Node(9);
        Node node6 = new Node(1);
        Node node7 = new Node(10);
        node1.next = node2;
        node2.next = node3;
        node3.next = node4;
        node4.next = node5;
        node5.next = node6;
        node6.next = node7;
        Node mid =  LinkedList.getMid(node1);
        Node k =  LinkedList.getBack_k(node1,2);
        Node newHead = LinkedList.removeSame(node1);
        Node sot = LinkedList.SortByTag(node1,5);
        System.out.println("kkk");
    }
}
